﻿Namespace BE

    Public Class Usuario_BE


        Private mid As Integer
        Private mididioma As Integer
        Private mnombre As String
        Private mapellido As String
        Private mnick As String
        Private mpassword As String
        Private mbloqueado As Boolean
        Private mintentosfallidos As Integer
        Private mpasswordreset As Boolean
        Private mFamilias As List(Of Familia_BE)
        Private mPatentes As List(Of Patente_BE)


        Public Property id As Integer
            Get
                Return mid
            End Get
            Set(ByVal value As Integer)
                mid = value
            End Set
        End Property

        Public Property ididioma As Integer
            Get
                Return mididioma
            End Get
            Set(ByVal value As Integer)
                mididioma = value
            End Set
        End Property

        Public Property nombre As String
            Get
                Return mnombre
            End Get
            Set(ByVal value As String)
                mnombre = value
            End Set
        End Property

        Public Property apellido As String
            Get
                Return mapellido
            End Get
            Set(ByVal value As String)
                mapellido = value
            End Set
        End Property

        Public Property nick As String
            Get
                Return mnick
            End Get
            Set(ByVal value As String)
                mnick = value
            End Set
        End Property

        Public Property password As String
            Get
                Return mpassword
            End Get
            Set(ByVal value As String)
                mpassword = value
            End Set
        End Property

        Public Property bloqueado As Boolean
            Get
                Return mbloqueado
            End Get
            Set(ByVal value As Boolean)
                mbloqueado = value
            End Set
        End Property

        Public Property intentosfallidos As Integer
            Get
                Return mintentosfallidos
            End Get
            Set(ByVal value As Integer)
                mintentosfallidos = value
            End Set
        End Property

        Public Property passwordreset As Boolean
            Get
                Return mpasswordreset
            End Get
            Set(value As Boolean)
                mpasswordreset = value
            End Set
        End Property


        Public Property Familias As List(Of Familia_BE)
            Get
                Return mFamilias
            End Get
            Set(ByVal value As List(Of Familia_BE))
                mFamilias = value
            End Set
        End Property


        Public Property Patentes As List(Of Patente_BE)
            Get
                Return mPatentes
            End Get
            Set(value As List(Of Patente_BE))
                mPatentes = value
            End Set
        End Property


    End Class

End Namespace

